//
//  LGHistoryTableViewCell.m
//  ligenyun
//
//  Created by apple on 2018/3/18.
//  Copyright © 2018年 stoneobs@icloud.com. All rights reserved.
//

#import "LGHistoryTableViewCell.h"

@interface LGHistoryTableViewCell()
@property(nonatomic, strong) STLabel     *numberLable;
@property(nonatomic, strong) STLabel     *dateLable;
@property(nonatomic, strong) STLabel     *desLable;
@end
@implementation LGHistoryTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self configSubView];
    }
    return self;
}
+ (CGFloat)cellHeight{
    return 55;
}
#pragma mark --SubView
- (void)configSubView{
    self.numberLable = [[STLabel alloc] initWithFrame:CGRectMake(15,0, 44, 55)
                                                    text:@"-11"
                                               textColor:TM_redColor
                                                    font:18
                                             isSizetoFit:NO
                                           textAlignment:NSTextAlignmentLeft];
    [self addSubview:self.numberLable];
    
    self.dateLable = [[STLabel alloc] initWithFrame:CGRectMake(self.numberLable.right,0, UIScreenWidth - 100, 22)
                                                 text:@"2018年03月18日22:46:18"
                                            textColor:SecendTextColor
                                                 font:14
                                          isSizetoFit:NO
                                        textAlignment:NSTextAlignmentLeft];
    [self addSubview:self.dateLable];
    
    self.desLable = [[STLabel alloc] initWithFrame:CGRectMake(self.numberLable.right,22, UIScreenWidth - 100, 33)
                                               text:@"连续登录100积分"
                                          textColor:FirstTextColor
                                               font:15
                                        isSizetoFit:NO
                                      textAlignment:NSTextAlignmentLeft];
    [self addSubview:self.desLable];
}

@end
